package de.gympu.gympulan.core.pluginutil;

import org.java.plugin.registry.Extension;

public class PluginContainer<E> {
	private E object;
	private Extension extension;
	
	public PluginContainer(E object, Extension e) {
		this.object = object;
		this.extension = e;
	}
	
	public String getParameter(String name) {
		return this.extension.getParameter(name).valueAsString();
	}
	
	public E getObject() {
		return object;
	}
}
